package com.test.redis.chapter1.vote;

public enum ArticleInfoAttr {

    ID("id"),
    TITLE("title"),
    URL("url"),
    AUTHOR("author"),
    VOTE_COUNT("vote_count"),
    PUBLISH_DATE("publish_date");

    private String value;
    ArticleInfoAttr(String value){
        this.value = value;
    }

    public String getValue(){
        return value;
    }
}
